using UnityEngine;

public class ActivateObjectFromDevicePower : MonoBehaviour
{
	[SerializeField]
	private GameObject[] _forWeakDevice;

	[SerializeField]
	private GameObject[] _forStrongDevice;

	private void OnEnable()
	{
		GameObject[] forWeakDevice = _forWeakDevice;
		foreach (GameObject gameObject in forWeakDevice)
		{
			gameObject.SetActive(Device.indexWeakDevice != 0);
		}
		GameObject[] forStrongDevice = _forStrongDevice;
		foreach (GameObject gameObject2 in forStrongDevice)
		{
			gameObject2.SetActive(Device.indexWeakDevice == 0);
		}
	}
}
